export default [
    {
        path:"/home",
        name:"Home",
        component:()=>import("../view/Home/index.vue")
    },
    {
        path:"/login",
        name:"Login",
        component:()=>import("../view/Login/index.vue")
    },
    {
        path:"/",
        redirect:"/home"
    },
    //任意路由配置必须放在路由表后面
    {
        path:"/:pathMatch(.*)",
        component:()=>import("../view/NotFound/index.vue")
    }
]